package com.oilsoft.scm.domain;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;

@Entity(name="perfil")
public class Perfil extends OilEntity implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7054437836033563251L;
	
	private String language;
	private String type;
	private User user;

	public void setLanguage(String language) {
		this.language = language;
	}

	public String getLanguage() {
		return language;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getType() {
		return type;
	}

	public void setUser(User user) {
		this.user = user;
	}

	@ManyToOne
	public User getUser() {
		return user;
	}

}
